﻿@using Library
@model Ecommerce.Models.ApplicationRole
<tr data-id="@Model.Id">
    <th scope="row">@Html.DisplayFor(r => Model.Id)</th>
    <td>@Html.DisplayFor(r => Model.Name)</td>
    <td>@Html.DisplayFor(r => Model.Description)</td>
    <td>
        @if (Model.Id != Settings.RootAdminRoleId)
        {
            <button type="button" class="btn btn-sm btn-primary" data-editor="edit" data-id="@Model.Id"><span class="glyphicon glyphicon-edit"></span>@NOWCulture.GetString("Edit")</button>
        }
    </td>
</tr>

